package com.fy.login;

import java.security.PrivilegedAction;

/**
 * @author zhufeifei 2022/8/21
 **/

public class SysPropAction implements PrivilegedAction<String> {
    private String propName;
    public SysPropAction(String propName) {
        this.propName = propName;
    }

    @Override
    public String run() {
        return System.getProperty(propName);
    }
}
